package org.zdc.pivot.wtk;

@:final
class Automation 
{
	public function new() 
	{
	}
	
	private static var components = new Hash<Component>();
	
	private static function get(autoID:String):Component {
		return components.get(autoID);
	}
	
	public static function add(autoID:String, c:Component):Void {
		components.set(autoID, c);
	}
	
	public static function remove(autoID:String):Void {
		components.remove(autoID);
	}
}